#include <iostream>
using namespace std;

int main(int argc, char** argv) {
	char c;
	cin>>c;
	cout<<"  "<<c<<"  "<<endl;
	cout<<" "<<c<<c<<c<<" "<<endl;
	for(int i=0;i<5;i++){
		cout<<c;
	} 
	return 0;
}
